#ifndef _MY_LIB_H
#define _MY_LIB_H

#define NULL (void *)0

char my_getchar(void);
int my_putchar(char ch);

char *my_gets(char *src);
void my_puts(char *src);

void my_display(void);
int my_strlen(char *s);

char* strcpy(char* dest,const char* src);
int my_strcmp(const char *dest,const char *src);

unsigned int my_atox(char *src);
int my_printf(const char *format, ...);

int led_test(int argc, char *argv[]);
int  go(int argc, char *argv[]);

int  flashw(int argc, char *argv[]);
int  flashl(int argc, char *argv[]);

int AnalyseCmd(char *s,int len);

int help(int argc, char *argv[]);

#endif
